//公共常量
var Class = (function () {
    var constants = {
        //导航栏
        NAVBAR_HOME: "navbar_home",
        NAVBAR_ABOUT: "navbar_about",
        NAVBAR_CONTACT: "navbar_contact",
        //侧边栏
        SIDEBAR_IMGLIST: "sidebar_imglist",
        SIDEBAR_USERLIST: "sidebar_userlist",
        SIDEBAR_TEST: "sidebar_test",
        SIDEBAR_LOGLIST: "sidebar_loglist",
        SIDEBAR_VERSION: "sidebar_version",
        SIDEBAR_PLUGIN: "sidebar_plugin",
        SIDEBAR_PUSH: "sidebar_push"
    };
    var Test = {};
    // 定义了一个静态方法
    Test.getConstant = function (name) {//获取常量的方法
        return constants[name];
    };
    return Test
})();
//交易请求
var Http = (function () {
    var Action = {};
    Action.ShowAppLogList = "/home/ShowAppLogList.do";//显示日志
    Action.GetVersion = "/home/GetVersionMsg.do";//获取版本信息
    Action.UploadHomeAdImg = "/home/UploadHomeAdImg.do";//上传图片
    Action.DeleteImgByName = "/home/DeleteImgByName.do";//删除图片
    Action.UpdateVersionMsg = "/home/UpdateVersionMsg.do";//更新版本信息
    Action.UpdateApk = "/home/UpdateApk.do";//更新安装包
    Action.GetPluginMsg = "/home/GetPluginMsg.do";//获取插件信息
    Action.UpdatePluginMsg = "/home/UpdatePluginMsg.do";//更新插件信息
    Action.DeletePluginByName = "/home/DeletePluginByName.do";//删除插件
    Action.PushMsg = "/home/PushMsg.do";//推送消息
    Action.GetClientList = "/home/GetClientList.do";//获取在线客户端列表
    return Action
})();